waitUntil {!isNil "Param_Loadparams" && {!isNil "server_SavedParams"}};

_params = server_SavedParams;
_params = if(Param_Loadparams == 1 && {count _params > 0} && {count _params == count paramsArray})then[{_params},{paramsArray}];
    _settings = "------------------------------ 参数 ------------------------------<br/>";
    if (isClass (missionConfigFile/"Params")) then {
        _c = count (missionConfigFile/"Params");
        for [ {_i=0}, {_i<_c}, {_i=_i+1} ] do {
            _paramName = (configName ((missionConfigFile >> "Params") select _i));
            _name = getText (missionConfigFile >> "Params" >> _paramName >> "title");
            _var = _params select _i;
            _index = (getArray (missionConfigFile >> "Params" >> _paramName >> "values")) find _var;
            _valueName = (getArray (missionConfigFile >> "Params" >> _paramName >> "texts")) select _index;
            _settings = _settings + format["%1 : %2 (%3)<br/>",_name,_valueName,_var];//
        };
    };
    //player createDiaryRecord ["Diary", ["设置", _settings]];//简报
	player createDiarySubject ["任务参数","任务参数"];
	player createDiaryRecord ["任务参数",["设置", _settings]];